package cn.jingyuan.owl.json.fastjson.serializable;

public class EnumHelper {

    public static boolean existEnumCoreClass() {
        String enumCoreClassName = "cn.jingyuan.owl.enums.core.EnumCore";

        return existClass(enumCoreClassName);
    }

    public static boolean existClass(String fullName) {
        boolean existClass = false;
        try {
            Class<?> aClass = Class.forName(fullName);

            existClass = true;
        } catch (ClassNotFoundException e) {
            // do nothing
        }

        return existClass;
    }

}
